Fixing structure and copy dist files