changed build script to not be killed by jenkins