Added lerts and some stock level monitoring logic