refactors the modern-executions code.