add functionality to change the destination server