delayedrun : Changed bootmanager block into function, resulting in less 5 lines.