make it work from the command line