now with command line support