adding notification interval param and changing to erb