Rewrite the webapp integration.