clean directories and move policies files to the right place