files now copied to the right directories