Setting default weapons?

Hi I am trying to change the default weapons for f2s stronghold and im sure the code to change is in here:

http://stronghold.googlecode.com/svn/trunk/gamemode/vgui/sh_loadoutpanel.lua

I have changed the model and the name to a swep I have added, but I need to know where I can make it so it gives me the custom swep, because at the moment it only shows its name on spawn and doesnt actually give the player the defaults I have set.