Set up plotresults.R as a unix script