Updating rScriptDirectory variable