make simpler converting script that is called by py
rename file for consistency
use correct index