hadd script