Add option for using a local server