factorizing an affectation
Changing the option -x to -L
Removing a useless .nil? in a condition