Fixing bug with argument parsing.

Had to use "local @ARGV" because earlier versions of Getopt::Long
don't have the getoptionsfromarray method.