Move 'ip' helper to it's own script