Change style of badges to flat and parametrize URLs