slight change to to_malt.py