Updated add script.