Script to shorten diff links