Rename and syntax cleaning of truffles