Fix collection script