move reigstered plugin to funcionts