adding scripts to go into TD