add scripts for building nightlies