bug fixes, option -b to optionally copy data back
adding option -q to allow the choice of queue to post to