The runonce script was not working correctly, should be tl_form.title not tl_form.name