Fixed run_singleton in repo