Added support for exit codes from Cooja script executions