Added generation of config file with threshold percentage to generate ex...

#40