added some tolerance options to the command line