$ 0 0 Allow external access was checked, I needed to check "execute script on server" and use UNC paths and not mapped drives. That solved the issue.