Updated send to be configurable on command line