add automatic source IP detection