replace subtr(glob()) which does not work, with a hack to get the custom icon file extention