add a collect script.