updated and edited to align more with threshold-gulp