Moved template script