added scala bash script