Hi!

You must tick the option that says:
Enable perform on connect
And in part:
Network:
You must choose which network
And in:
Perform commands:
You must put the commands to run