convert script (fix 3)