add readme note about -a option overriding -n option
fix but in file writing output and rename vars for clarity