add a gateway.sh for simplified gateway setup