bash scripts used for the cid devices