niuben added getIP scripts