updating build script for local run