Added rollback to prevent errors in import causing application to fall over.