Remove IP debug print
Refactored strings
Fix empty IP file problem