re-wrote gulp build script

gulp build now works perfect.