r_script created for doing charts