changed rm logfiles to mv to /tmp