New script for Cosmic MC production