path to query was worn should be dist subfolder