Automation improvement.

[DF - 291] Modified to check is automation script exist.