refactor gulpfile