use staging from environment variable, or 'local' by default