New parameters

Adds the --noerror and --threshold parameters to improve the control
over the script behavior, usually when executed in a CI environment.