fixes, plot changes, actually uploading the R code