Fixing DB creation script