Added Program.running variable