Becks automation code