[PLAT-5779] refactored so version correction is sourced at execution time