View did not work. Fixed view still reading command from argument array.
Created new array to store commands from input stream.