patches for passing R credentials always and sorting problems on display results when workflow has not been customised