change legend icons to relative paths