output capturing and quiet option