Added support for the script's context (Cli or Request)