add unf comparison function
import tools::md5sums
minor cleanup