Fixed convert script