Tweaked and tested on OpenShift.