Added debug for main()
Fixed env in tsung_template
Added debug in main