New structure conversion script