Added logging to integrate, fixed error in badges