updated the example
added a descriptive error message when sc is not running
made reset a function with no params
detect os and run scsynth