running script for hadoop