added '#!/usr/bin/python' and a comment explaining how to change the output data for specific trace types