Fixed bugs in createProjectResources - now skips resources that already
exist.