Modify directory variable names to match documentation.