add functions from bashfinder