Updated php files to use new config settings