add link to github and fix minor bugs