added bash script to check for imagemagick dependency