Modified, slightly, so that I can run this example on my OpenShift account