simplified build script

simplified & cleaned up build script