Refactor seed file