Bash script to run logcards.