adding options to the build script

- now requires command:
- added: stopOnFailure
- added: markBuildFailed