$myconfig
got rid of global variable for db