Call associate_wells_and_paths from outside
the if statement