Fixed the ip script