Make check period configurable