Run as superuser where appropriate, and fix up an example

Pull request #25 introduced pulling the repositories as a normal user
and using sudo to esclate when necessary. This PR fixes broken
examples by adding sudo to the commands that will not work with limited
privileges. This PR also adds ./ to an example where needed.