Refactoring, auto publish