A migrate tool for legacy site