Cleanup R scripts