add a generic nightly build script