ignorelocality and saveoutput flags are int, not bool