adds guard settings to config