Added auto-cycle mode