add directory control of actions