Move codes to root