added logic to copy web dependencies