Add refresh patterns config option