in the example script, exit early if the user has no snaps