added structures lua script