checkScriptFileUsed

Checks if there is a script file used. Scripts are not always desired, use functions and classes instead.

Exemption tag: %@ok<SCRFU>