Fix initialize scripts