Scripts For Discover Modules

I am trying to write a script for the Discover modules in order to run Dynamics at different stresses on my molecule. The syntax seems to be fine, no error there, but when i run it, note it is still crude, I have this error;

There is no function or property named "Discover" on type "Modules" at -e line 9.

Now line 9 is:

Modules->Discover->Dynamics->

What I think it means is that you cannot write a script for the Discover module because it is not yet configured, I hope I am mistaken, and if so could you tell me how I can access the discover module via scripting please.

Thanks
Robbi