Added gateway helper connection logic and DCE'd the prompt