Add call to createStaticMain