Placing this here doesn't work. The badge mod hasn't loaded when this file is loaded (that's why the first setup is in a think hook so it runs after the badges mod has loaded), so GiveBadge is nil.