Add error message for no input arguments and no environement case.