write to file and seemingly unnecessary bug fix in hi_sunlight
more time.sleep bw calls, write to tab-separated file, df columns order