rebuilds dist files