script to build and run