Added script to complete the iteration