fix up nightly.sh