made run-passes dynamic