Script to build and run flask