migrated some variables to config.json file.