PLEASE FIND A SCRIPT FOR AUTO COLLECT AND MERGE