boaz changes for SQL connection