Adding autoform hooks and deleting somethins