add parameter to enable / disable link to repo

github doesn't embed my previous pull request. Maybe @Gautham can restore it.