changes to new mysql_query and mysql_import type