updated mild.sh