Update dependencies.
Make more consistent with other examples.
Standalone script.