added scripts for ro queries