added coverage.bat tidied up if name==main dtuff