Automatically setup output passes

You can try