adding python script to get local IP address as it was failing on linux