Script to mount exfat drive
Assuming there is only one drive called Elements, running
diskutil list 'Elements' | sed -nE '/ Elements /s/.* (disk[0-9]+s[0-9]+)$/\1/p'

will return the device identifier.
Within a script you could use
disk=$(diskutil list 'Elements' | sed -nE '/ Elements /s/.* (disk[0-9]+s[0-9]+)$/\1/p'
)
if [[ -n &quot;$disk&quot; ]]; then
    mkdir -p /Volumes/Elements
    mount_exfat &quot;/dev/$disk&quot; /Volumes/Elements
fi