copy stage.rb from stage to dev branch for consistency during merges