Create logcheck.sh