allow query selector to be changed in options