updated nest scripts