plug generation of schema