Don't repeat code in script to be run