Added staging env detection