fix curate script