Avoid disk access before the shell menu is actually being displayed