Generate config if missing

Simple block to generate a config file if it's missing.