Added option to specify the path to the icon.