Convert multipage to plugin