Changed application to scan correct path for entities