Updated the getCommand method
Now returns fully functional command instead of just the beginning
Moved fully forming of the command to subs.pl