for building slg plugin