use getopt instead of a config file, finally