Updated downstream r_script