1. You may need to remove the first line
2. You may need to modify two if statements. Change
if ( ( -e ${ForUnit}20 ) || ( -l ${ForUnit}20 ) ) rm ${ForUnit}2*
to
if ( -e ${ForUnit}20 ) rm ${ForUnit}2*
and from
if ( ( -e ${ForUnit}18 ) || ( -l ${ForUnit}18 ) ) rm ${ForUnit}18
to
if ( -e ${ForUnit}18 ) rm ${ForUnit}18