issue #23241: the frozen scripts must come before the foundation scripts
Merge pull request #1373 from shackbarth/23241-bug

issue #23241: the frozen scripts must come before the foundation scripts