added check to see if icon is custom or sock