added command line script