updated config to use server stuf