implemented --emperor-on-demand-ext