adding error handling to command line execution