Added compatibility mode for multiple linux distribution