updated readme, fixed php script