changed PLUGINS_DIR to PLUGINS_SUBDIR