Create repeat script