Updated import code to report import status back to calling server