Improved static IP script