Sand automata as cellular automata