renames dest -> dist;