fix ./refresh script