fix errors in sh
md5 check of bed
add CHH/CGH bed md5 checks