updated egs, added sample plugin