build and run from command line