Change type of php scripts