Updated nightly.rb to include tasks required by cron due to its different env variables