Fix hammerhead script