Add run logging
#2 Reflect script exit status in build status
Start slave index from zero
#2 Add option for obtaining exit code