#402 Rename targetFolder to sourceFolder and add dependency resolution