Custom DB script extra config variable

Hi All,
In Custom DB-script in the database connection we are able to access only email and password from login screen.We need to read some extra parameter from UI in the DB custom script.Example we need Org id to be passed from our organization-ui.

In above image we don’t want to hardcode org-id.
we need to get it in the form of configuration.
Basically we need a way where we can access extra param values inside the above script.