Add config variable to set ban type
Move config variables to just-before-use