added command line call