finished mesh conversion script