use R 3.0.2 and script improvements