can now run from command line