Update scripts
Update Main script for new change in cores