Badges and Fix console and travis before script