Added command line looping setting