Use OptionParser for parsing command-line arguments