updating build script for jenkins