Made the Shell Script into a PHP file