Re-added workaround for execution policy

Looks like this was removed by mistake during a merge