Fixed some bugs when adding and renaming script resources in Duality and
updating the project with those actions.