added auto-run (beta)