#4 update min script