Changed hard-coded IP to a variable