added debian functionality