Changed PHP scripts to reflect change to global database.