refs #5920 some migration script adjustments for older core codebase