changed signatures of methods (command primary paramater, then timeout [= always at last])
changed double-quotes to single-quotes (no escaping needed, makes code more readable)