Add in logging statements
Capture cmd output