improved logging in the MASTER driver script
minor improvements to MASTER driver script