Edited algorithm of whatsNew script