Change ag config