add script for CMGProduction