corrected dist task to copy to the right files