tda script