updated build script from jenkins