Program now runs with new changes