Switch based on stage name starting with staging or production.