added support for reloading app each request.