extract deploy script and clean up gulpfile