Rearrange the order of add_arguments

The order of add_argument method invocation in the main function is
rearranged to be consistent with the documentation.