The first script isn't having any issues at all, working fine.
The second one, where trying to change the name of the attribute used for the Initiative doesn't work, and I confirmed that it also doesn't work for the standard Initiative (same in Pathfinder system too).
It would be fine if I could get it to appear on the Abilities tab...