Need move run code to shared libs.