not exiting after primary hostname check