Clean the run function correctly this time again.