Work in progress on the convert script