added support for using creds locally (wmi)
code cleanup