[WIP] Validate hooks existence

Why redefine `configurations` here instead of changing line 3 to receive the `config_file` parameter?