generating badge depending on number of downloads
added frame around