code formatting
removed unnecessary if-statement
command line params for .sh or .bat file names