diff --git a/bibdb.cabal b/bibdb.cabal
--- a/bibdb.cabal
+++ b/bibdb.cabal
@@ -1,5 +1,5 @@
 name:                bibdb
-version:             0.3.0
+version:             0.4.1
 category:            Text
 synopsis:            A database based bibliography manager for BibTeX
 homepage:            https://github.com/cacay/bibdb
@@ -55,7 +55,7 @@
                         containers >= 0.5 && < 1,
                         bytestring == 0.10.6.*,
                         pretty == 1.1.3.*,
-                        bibtex >= 0.1.0.5 && < 0.2,
+                        bibtex >= 0.1.0.6 && < 0.2,
                         parsec == 3.1.*,
                         curl >= 1.3 && < 2.0,
                         download-curl >= 0.1.4 && < 0.2
diff --git a/dist/build/bibdb/bibdb-tmp/Parser/Parser.hs b/dist/build/bibdb/bibdb-tmp/Parser/Parser.hs
--- a/dist/build/bibdb/bibdb-tmp/Parser/Parser.hs
+++ b/dist/build/bibdb/bibdb-tmp/Parser/Parser.hs
@@ -445,11 +445,15 @@
 parseSource loc _ key = undefined
 
 parseType :: String -> Alex SourceType
+parseType "DOI" = return Doi
+parseType "doi" = return Doi
+parseType "arXiv" = return ArXiv
 parseType "DBLP" = return Dblp
 parseType "dblp" = return Dblp
 parseType "CiteSeerX" = return CiteSeerX
-parseType "DOI" = return Doi
-parseType "doi" = return Doi
+parseType "HAL" = return Hal
+parseType "hal" = return Hal
+parseType "inria" = return Inria
 parseType t = lexError $ "invalid source type" ++ t
 
 
diff --git a/src/Main.hs b/src/Main.hs
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -67,7 +67,8 @@
 
   let renames = zip ids (map Parser.entryIdent entries)
   let final = bibliography renames database
-  liftIO $ writeFile outputFile (renderList final)
+  let msg = "Automatically generated file. DO NOT MODIFY!\n"
+  liftIO $ writeFile outputFile (msg ++ "\n" ++ renderList final)
 
   where
     outputFile :: FilePath
diff --git a/src/Parser/Parser.y b/src/Parser/Parser.y
--- a/src/Parser/Parser.y
+++ b/src/Parser/Parser.y
@@ -175,11 +175,15 @@
 parseSource loc _ key = undefined
 
 parseType :: String -> Alex SourceType
+parseType "DOI" = return Doi
+parseType "doi" = return Doi
+parseType "arXiv" = return ArXiv
 parseType "DBLP" = return Dblp
 parseType "dblp" = return Dblp
 parseType "CiteSeerX" = return CiteSeerX
-parseType "DOI" = return Doi
-parseType "doi" = return Doi
+parseType "HAL" = return Hal
+parseType "hal" = return Hal
+parseType "inria" = return Inria
 parseType t = lexError $ "invalid source type" ++ t
 
 
