changes made to source code for icon generation