error detail re-added for .lock file
Updated variable mapping.