I do all my procs thru script files. Compile into dev, test and if all OK compile into uat and live. I still only have one script but different environments. Makes changing and testing easier.
Far away is close at hand in the images of elsewhere.
Anon.