When you paste it, where do the colors change in the code? MT, pretty well has a built in syntax checker that shows where things went wrong.
Did you change the variables as needed and such? Are you sure on those changes as they may make the Ethernet ports invalid, or can't be found by the script to install properly I think. (It's been a bit