Use config file to set the iteration