Remove some old, broken, and unneeded code from the soffice script