Add LOOP command to Emitter scripting