How to add experience to breakable boxes

Hello

I want to add 100 exp for each box or corpse you interact with. So I modded all the corpses file (to start) by adding the line

experiencePoints,100,

Nothing happened. So I added the line

giveXP,1,

And again nothing. Do I need to add those commands in a specific place, by alphabetical order, or I am just doing it all wrong ? Thanks your your upcoming help, if any.