Implement distribution task and update distribution files