Fix path names and rename functions. Also return settings when asked.
Change variable name because I like this one better.
Fix function names, only fire functions within proper settings.