remove function for triples
modify scripts to use new formats