update to work with UI repeat script