removing old automation code