Renamed 'test' debug mode as 'stage'