Added manual mode. Test needed!