new auto cycle system and other fixes