Of course that could be done but that would include a lot of repetition. The real list of commands I want to use is over 1 thousand lines, at one command per line.
My commands are currently in a shell script that is very hard to maintain. I am trying to convert everything to php as much as possible because its much easier for me to manipulate.