min script