Fixes. Copying and permissions should be set.