generate track_script