Scripting: Created a parameter parser to standardised script options