copy of old build script for refrence