Modified app to be similar to the one that runs on openshift.