replaced unused loop variables with _
changed OptionParser to ArgumentParser