Database initialisation fixed. Added to docs.