Small Update

Moved some code for a function out of the main script and into the
functions file.
Merge branch 'master' of https://github.com/lilfade/GuildFrosting