refactor valid_caller? into autorun?