final cleaning up of directories