Changed loop.skipevery so that it stays at 0 if not set