Source code and local and config files for nested queries