→Adding scripts to the Plugins menu
| float = right
# The script file is saved in the <code>ImageJ.app/plugins</code> directory (or a subdirectory thereof).
# The script name ends in a supported script extension. For example
The extension will be stripped and any underscores will be turned into spaces before the script is added to the menus.
Scripts in the top-level <code>ImageJ.app/plugins</code> directory will appear at the bottom of the ''Plugins'' menu. Scripts can be placed in other menus by nesting subdirectories, for example placing a script in the <code>ImageJ.app/
plugins/Scripts/File</code> directory will add it to the ''File'' menu.
If you aren't able to find your script, you can always run the [[Using_the_Command_Launcher|Command Finder]] to verify its location (or absence).
= Running scripts in headless mode =