making the config dir and the data dir choosable