added removing of logs to the run remove procedure