add alerts flag to parser