Detect that script must be sourced