For a weapon, the lines must be:

primaryactive0
whatever you called your weapon
0

You can't call the group 'axe' and have it work correctly as a weapon. Secondary weapons should be

Secondaryactive0
whatever you called your weapon
0

The secondary/primary bit are used to identify the primary and seconday weapons.