Extracted duplicated script fixing logic to a private method
Merge pull request #81 from stof/duplicate_logic

Extracted duplicated script fixing logic to a private method