Add user agent as required by github api
Add instructions for creating secret token for github use.
Fix some NPEs