Scripts used to mimic some HTK functions