Fixed handler so you can rerun scripts.