What changes did the song dynasty implement to create a meritocracy?

Changes that the Song dynasty implement to create a meritocracy were that they brought religion into the civil service examinations that were to be taken in order to work for the government such as questions on Confusious' teachings, Daoism, and Buddhism