write a config file and load it to app if the bigboy_config env is set