Added IP address getting to config