Update nest.groovy

updated to support mode location changes