Added alert period and initial delay