diff --git a/.gitignore b/.gitignore
index 55fb3f0d1bc6c101704557da8f35d6e784b5ea89..04a7ba7bdfc8fb1a5e4885e412e31ed218469730 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@ __pycache__/
 dist/
 build/
 src/caosdb/version.py
+src/linkahead/version.py
 
 # documentation
 _apidoc
diff --git a/src/caosdb/utils/caosdb_admin.py b/src/caosdb/utils/caosdb_admin.py
index 776dde5ff5499c7fa151998aaf84dffc672abdcf..4128a5d0b4a45b96adcabd04820aa8b4c1c2c3c8 100644
--- a/src/caosdb/utils/caosdb_admin.py
+++ b/src/caosdb/utils/caosdb_admin.py
@@ -1,4 +1,27 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# ** header v3.0
+# This file is a part of the LinkAhead Project.
+#
+# Copyright (C) 2018 Research Group Biomedical Physics,
+# Max-Planck-Institute for Dynamics and Self-Organization Göttingen
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+#
 import warnings
+import sys
 
 from linkahead.utils.linkahead_admin import main