changed config file to yaml