script to automate the change of localhost through use of symlink