Rcommon Block toupgrade script to solve migration problems