use ->cmd instead of hardcoded libreoffice