updates gulpfile with some small refactoring