min scrpt