update unfolding scripts