Moving live query to local directory