add 'dont_track' flag
move deal table generation into from template to py file