updated to use plugin model
Now using plugin deps model