added query variable on schedule service