Popup script

I found the problem, somehow the script is not remembering the config file, where the connection to the database is made.