added script to convert MADA output