Refactoring: start splitting script/*.