moved to Getopt::Long to allow multiple root dirs