Set server and source from options