add script for collector