Automatic dosing and regulation systems