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