[cura-tools] master: merged changes from openlmi-scripts upstream (af79deb)