Fixed up the nightly build script