add shell to download external dependencies and update BUILD.md.
diff --git a/BUILD.md b/BUILD.md
index 2e21dce..c32cebd 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -4,15 +4,14 @@
 > `brew install sbt` if you are on a Mac. (Otherwise, checkout the [SBT document](http://www.scala-sbt.org/0.13/docs/Manual-Installation.html).
 
 2. Download third_party dependencies.
-    3. download [mysql-jdbc-connector](http://dev.mysql.com/downloads/connector/j/) and locate it into `s2core/lib` and `s2counter_core`
-    4. download [patched-asynchbase](https://github.com/SteamShon/asynchbase/blob/mvn-repo/org/hbase/asynchbase/1.7.2-S2GRAPH/asynchbase-1.7.2-S2GRAPH-jar-with-dependencies.jar) and locate it into `s2core/lib`
-
+    1. run `bin/download.sh`.
+    
 2. build and package from source code.
-> `sbt package` to create a package at the directory `target/deploy`
+> `sbt package` to create a package at the directory `target/`
 
 once build is done, `target/s2graph-0.1.0-incubating-bin` will be created.
 
-then `bin/start-s2graph.sh` will launch the following.
+then `target/s2graph-0.1.0-incubating-bin/bin/start-s2graph.sh` will launch the following.
 
 1. S2Graph server.
 2. Standalone HBase server as the data storage.
diff --git a/bin/download.sh b/bin/download.sh
new file mode 100644
index 0000000..7674351
--- /dev/null
+++ b/bin/download.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+mkdir -p s2core/lib
+mkdir -p s2counter_core/lib
+
+wget https://github.com/SteamShon/asynchbase/raw/mvn-repo/org/hbase/asynchbase/1.7.2-S2GRAPH/asynchbase-1.7.2-S2GRAPH-jar-with-dependencies.jar
+
+mv asynchbase-1.7.2-S2GRAPH-jar-with-dependencies.jar s2core/lib
+
+wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.39.tar.gz
+
+tar xvzf mysql-connector-java-5.1.39.tar.gz
+
+cp mysql-connector-java-5.*/mysql-connector-java-5.*-bin.jar s2core/lib/
+cp mysql-connector-java-5.*/mysql-connector-java-5.*-bin.jar s2counter_core/lib/
\ No newline at end of file