added spark script