Create rake task and refactor to deal with the default outcome creation