Adding scripts for command line tool so that one can use the history and also up-down keys