more tweaks to script to import db into reporting server