Add return of exit codes from demo project