Modified run_noelkdf