Log process output to file and restore support for running against an existing ZAP instance