Fixes issue #156

yes.. it still does not solve the problem with log files, but I've found anther solution for that and will publish it shortly.