You're loading the add_resource after loading the level-> intenional? Shouldn't add_resource be one of the first things to call in the main function?
I might be wrong...


~"I never let school interfere with my education"~
-Mark Twain