fixing country bug, adding config file