make host available in script