fixing dir for spark deamon scripts