Added WAIT to ANALYZE commands