fix conversion scripts a bit