Implemented optional units qs parameter (close #1)

Signed-off-by: Chris Jones <chris@jonezy.org>