regenerate some files