added `dispenseToWaste` and flush capabilities