Add a metadata to specify where a script has to be shown for example the view, contextual menu or other