fix: 63755e22a09aedd8728f518d7cf1ae9fad2b1652

Simplified run() logic