Adding image magic and libreoffice packages.