wan_chck tweaks

creating the log directory wasn’t working right.  Moved folder check
and creation earlier.