Code signing fixes