setup structure element automation