Adding a loop to crunchabse worker script