[ADD] [8.0] 'mrp'. add pre-migration script; improve post-migration scri...



Port 'mrp' modification realized by OneStein BV. (branch onesteinbv:8.0-os)