Adding automatic record ID retrieval and dynamic YAML use.