extended scripts for automated nightly runs