undefined variable $run ???