Updated createDB script