*fixed make_rigid_mask.sh to work with streamlinked util.sh