Changed 'write_track' from global var to attribute
Moved 'particle_track' to 'track_output'