Added argument so that gateway ip addresses can be delivered by commandline