plugin changed to use autoload