Is it possible to run a Script from a file

What I should have asked is - what is the best and easiest method by which to develop and test scripts?
Answer = the CLI tool as pointed out by Leo here

Help link for Opus 12 is here
https://www.gpsoft.com.au/help/opus12/index.html#!Documents/CLI.htm