Updated Shell Script and created a USudo program that allows PHP to make root calls on the server.