So I copy/pasted your file, added a couple calls and it worked fine.

Not sure what is causing your issue. If you want you can upload your mod as it currently stands to a cloud storage(dropbox,onedrive,etc) and I can try and mess with it directly.