unused imports
add write flag to enforce write connection use of an SQL statement