bug fix, uses plugins directory relative to root dir.