Use optparse for argument parsing