Adding copyScript