Coleraine would take the lead through Andy Scott but two goals in the last 20 minutes saw the Bannsiders lose out to Glenavon.