Rewrite example to not require a server