Fix check for not-loaded core plugins
Re-order steps in addToPluginPool() method
Add check for some needed specs in JSON file.
Update plugins scripts to support custom specs