add a version with command line support