<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main(**options):
 """Spline loc tool."""

    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