chado script