Improve set_dev_access_rights.sh