removed querypath and directory module