Changing command line to one command only