@classmethod
def run(cls, session_name=None, macro=None, sessions_file=None):
    """Run the application"""
    instance = cls(session_name, sessions_file=sessions_file)
    instance.start_ui(macro)
    if instance.connection:
        instance.connection.close()
