script to build and deploy