update migrate.sh, ghost and list option