Added config file generator argument and functions.