I've found the issue

, it's not your mod!, when i saved target as for the files at github it saved the source code of the page....!
I have fixed the hooks because that was easy however when copying the functions.....php and pasting it all appears on one line could you possible attach a text file of it here or send it to me please simon.lloyd
ATthecodecage.com all should be well then