add the record bash