auto-generate logfile directories. NOTE: noticed get_pulse.py runs much faster now