adding cycle script