adding php control file, other minor changes