Fix bug that prevented running plugins standalone