added colon replacing with dash for log file, for windows compatibility