minor style improvement
updated repo link
file handle cleanup