add exclude region capability
Merge branch 'bed_exclude' into dev