added some cleanup of log files and .data folder