Added commandline argument for specifying comman pipe path. Added error messages and checks for all available commands