Update addhost

get absolute path from script