THANMAD
I do not have access to the config but its sounds like you are on the right track.