It seems only possible to add directories to a project, but not to refresh the project and synchronize its contents with its directory. Am I missing something? If not, is it possible to add this functionality via a script?