Refactor some ICU invokation to run_icu function