Gateway fixes on disconnect

Launch scripts added