hadd script added back