add 'loop' mode for rocket_run.py