New script to resolve shortened URLs