Setup variables including object variable