// Used to handle the restart button being clicked
    public void Restart()
    {
        // Call and pass in data from text entry
        int numberofballs = Convert.ToInt32(inpfield.text);

        Resume(); // Resume Application

        // Pass to data to class being run
        ECSJOBS_Runner.numOfEntities = numberofballs;         //
        ECSJOBS_Runner.shouldRestart = true;                  // Toggle restart operation
        inpfield.text = "";                                   // Clear input field
        ECSJOBS_Runner.CleanUp();                             // Run Cleaup operation
        SceneManager.LoadScene((int)SceneList.ECS_WITH_JOBS); // Reload Scene
    }
 // Used to handle the return to main menu button being clicked
 public void ReturnToMainMenu()
 {
     ECSJOBS_Runner.CleanUp();                          // Run Cleanup operation
     SceneManager.LoadScene((int)SceneList.START_MENU); // Go back to start menu
 }