added scala script