Fixed database initialization scripts (now for real)