updated sender script