Modification to help app run on webfaction