Rewritten fint with bash functions, updated README.