replace init from mainctrl with .run