Smart.pl effeciency fix.

Changed smart.pl so it no longer calls cli64 in a loop for each
drive as it takes a few seconds to run which reduced the run time
on an areca machine from 32 seconds to 11 seconds. Now cli64 is
only called much as it is needed.