log the bash scripts