Enable customizing query prompt

I made query prompt changeable.