Update license
Fix errors being logged to stdout