convert script (fix 2)