enable to specify option for run method of rest server