The save function, and dynamic blocks