Change from Getopt::Std to Getopt::Long