How snails engineer their slime