Script of analysis on similarity of different sub-franchises