Fixes issue 15 (ST2 specific bug)

- Fixed ST2 specific bug in run_commands and set_timeout
Fixes issue #15

- Fixed ST2 specific bug in run_commands and set_timeout