small pior and r script  changes
Added some references