Well sorry, I didn't think that it was necessary to provide the other code since I thought it had something to do with me just doing it all wrong but here is the full document : http://pastebin.com/CyNGkFYD
I also changed startup to characterStartup and it still does the same