filter out require/plugins and excluded