Added flags for sql in prod