adding script to automate build and script running