use new configure file, use getopt