Cleaned up script/process_image and separated out general stuff into script/bash_include.sh.