Migration to config file