Add sys.exit
Merge branch 'dev'
Merge branch 'master' into dev