It is good idea not to repeat code, but i think it should be done in separate task. For example we can create ScriptHolder that will contain all scripts that we use.