We optimize the code in Build Repo