update bin/dispense.js to work with new dispenser api