added compress_response option to app