You are a genius. It worked perfectly fine. The command was slightly different,
I found it with your method. However, I am still getting that error "**
(soffice:22407): WARNING **: unable to get gail version number"
I read on the internet that it is not harmful or anything, but, its slightly
frustrating. Do you know what might be causing this error? Or does everyone has
to live with it for the time being?