Add cwd attribute to execute resource