# Agent and modules generated by the plugin

The plugin creates an agent with the name specified in `agent_name` (default "{script} Oculix") containing the following modules:

<table border="1" id="bkmrk-modulos-generados" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 35%;"></col><col style="width: 20%;"></col><col style="width: 45%;"></col></colgroup><tbody><tr><td>**Module name**</td><td>**Type**</td><td>**Description**</td></tr><tr><td>{script\_name} status</td><td>generic\_proc</td><td>Script execution status. Value 1 if execution was successful, 0 if there was an error or visual difference.</td></tr><tr><td>{script\_name} time</td><td>generic\_data</td><td>Script execution time in seconds.</td></tr><tr><td>{script\_name} last\_image</td><td>async\_string</td><td>Screenshot in base64 format (PNG image). Only generated when the status is 0 (failure or visual difference).</td></tr></tbody></table>

Example: for a script called `login`, the generated modules would be:

```
login status
login time
login last_image
```