es.sh: fix $PATH. add #argument information to #logfile