Add Programming guide for spark.
Update script.