fetch scripting