Adding initial version of php script