Refactor task to use exportStrategy