single-file php and added bash script