Implement the repeater script