fix ip script...hopefully for good