add example scala script