reimplemented using new global plugins access API
renamed records. Refactoring