clean folder and create 'final' folder, correctly