cleanup of conversion script, == first version