added getip script