added createDB and generate scripts