Instead of just showing a warning, add other references while merging  +  Add possibility to choose max occurence of references in scripts options ##
Pep8 fixes ##