code: def main(**options):
      
      application = Application(**options)
      # fails application when your defined threshold is higher than your ratio of com/loc.
      if not application.run():
          sys.exit(1)
      return application
docs: Spline loc tool.