Renamed start_gateway, fixed shebang sh.