Adding refresh.sh; code to refresh instance hostname