Added logging for jar filename and hash
Fixed bug where new hash wasn't being returned

(stupid indentation bug)