added imperative-style translation
removed unused flags and simplified a func
moved title into config