added update-r-source script for local use