Add support for `sync`

* Also modifies `can_use` to support situations in which `task` resides at a non-standard location.