adds fixes resulting in a semi-working gulpfile