More support for Database metadata
Fixed permissions