Fix script for recent GitHub redesign

The GitHub redesign broke logic & styling. Fix it!