Corrected the command line script