Changed versionType to EXTERNAL when using withVersion argument