Added support for remote dumps , cleaned up import a bit