Plugins API expansion & update

Plugins API expansion & update
setupResults is used on line 253