added run_now code