Update to script that causes fail when in working root.