Updated Script with InDels