fixed script error in project overwrite