changed the main_server file