update apply script to work eh
someone could conceivably override HOST