Command line arguments and script method

Added a range of command line arguments and a method to run from another
script script.
1 Bug fix - default subs