diff --git a/docs/source/simplesamlphp-changelog.xml b/docs/source/simplesamlphp-changelog.xml
index 8431b56eca328ba97a103bd3749dac3c1ff46095..1e6e9d7fa9bcd3d9ac443afa785b29972dd51aed 100644
--- a/docs/source/simplesamlphp-changelog.xml
+++ b/docs/source/simplesamlphp-changelog.xml
@@ -8,7 +8,9 @@
     <title>Change log</title>
 
     <para>Here is changes between simpleSAMLphp versions. Look here if you are
-    upgrading, to see if there are any changes to the config format.</para>
+    upgrading, to see if there are any changes to the config format. There is
+    a <ulink url="???">generic section describing how to perform a upgrade in
+    the installation manual</ulink>.</para>
 
     <section>
       <title>Version 1.3</title>
@@ -660,10 +662,4 @@
       </itemizedlist>
     </section>
   </section>
-
-  <section>
-    <title>The history of simpleSAMLphp</title>
-
-    <para>TODO.</para>
-  </section>
 </article>
\ No newline at end of file
diff --git a/modules/sanitycheck/www/index.php b/modules/sanitycheck/www/index.php
index 7d86a2dab339c9dcf13dafbe383bde10dd292f04..392b7eeab09268c44df0ec505e579b073c6f045c 100644
--- a/modules/sanitycheck/www/index.php
+++ b/modules/sanitycheck/www/index.php
@@ -16,6 +16,16 @@ $hookinfo = array(
 SimpleSAML_Module::callHooks('sanitycheck', $hookinfo);
 
 
+if (isset($_REQUEST['output']) && $_REQUEST['output'] == 'text') {
+	
+	if (count($errors) === 0) {
+		echo 'OK';
+	} else {
+		echo 'FAIL';
+	}
+	exit;
+}
+
 $config = SimpleSAML_Configuration::getInstance();
 $t = new SimpleSAML_XHTML_Template($config, 'sanitycheck:check-tpl.php');
 $t->data['errors'] = $errors;