Improved qrcode generator