Welcome back to the community, @shadsaiddiqui! Maybe this post discussed previously should be helpful but the script would need some updates: