add scripts for spark