Added name-match and latest-only option which should fix issues #129, #139 and #158