Added badge hacking code