Cleanup HD1 script.