Modified php class.
Modified how the command is built and passed to shell_exec();
Added a couple utility methods