Hi, I have noticed that my local context update scripts were not always working correctly. In particular, the mtxrun and luatools file never got updated. The reason is the following. When I run mtxrun --selfupdate I get mtxrun --selfupdate MTXrun | fileio: to be replaced old script /opt/experimental/tex/texmf-linux-64/bin/mtxrun MTXrun | fileio: using suffix based filetype 'texmfscripts' MTXrun | fileio: checking new script /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua MTXrun | fileio: new script should come from scripts/context/lua So, mtxrun is trying to replace mtxrun from the stubs directory. In fact, if I get the same result from luatools --locate mtxrun.lua /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua Something is wrong with the search logic as texmfstart also gets this wrong. texmfstart --locate mtxrun.lua /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua% However, kpsewhich works correctly. kpsewhich mtxrun.lua /opt/experimental/tex/texmf-context/scripts/context/lua/mtxrun.lua Do others also get the same result? Any idea what is going wrong here? Aditya