added sample php file. update bash scripts