add the base scripts of php in patamon.php