Prep for sql communication