now able to reuse scws instance; added scws.destroy() to destroy scws; added debug setting entry to control output to stdout