more options to functions in convert.py