added dependencies for Flask
openshift changes - required to prevent socket errors
changes required by redshift