minor fixes to command chaining - works