added a checkbox to enable autodirector