refactoring to split out release vs. nightly