do only one mc walk instead of two.

a few fixes
add script to migrate database