command line support added