Adding catch.sh script for error catching