Starting PHP port of shell file