adding stage to config