change the dir.
spark dir and actor mode dir added.