updated gen_config to load a config file. Also added install process for script