automation beta refactoring