Add auto mode for links