Crazy refactoring experiment script