Contains automation code