remove 127.0.1.1, update script for better localhost resolution