Thanks to all replies. Working now as intended.