Workflow script I'm using daily on my machine. Hope this helps