Added max iterations, output directory, and 'addLoc'