Add function for run_ddsim and update Base Script