Performs the final hack to migrate the plugins