set user agent as Client parameter, remove imports