rename and config injection