Fixed error in that the status page changes the run status. A test was added to the main function and never removed.