import old conversion script as a starting point