updated to stay in step log panel after code runs