adds error handling for required cmd line args, and removes user prompt for missing args, replaces with error messages