Fixed case and added stats database pieces

Also added the switch for determining what repo to use, based on
whether-or-not you're a scriptwriter.
Merge branch 'master' of https://github.com/theVKC/VKC-Script-Changes