* Simplify cognitive complexity * Fix case when entrypoint is target * Simplyfy check for case: entrypoint is target