updated get-icon script