Added EOT fix. Removed hardcoding the IP