Revised batlog to use AWK. Loading it with launchd.