Update libreoffice script to receive the version number