Fixing best_config printing and returning.