I have got replication in place in the test environment.

I want to move it to prod, for that I need to script it. Does anyone have any idea how to script the whole replication that I have in place.

And is there any specific order that I need to execute it in on the production box ?