Updated some PHP scripts