create database and licensing fixes