Add 'version' and 'op_type' to Put Script Endpoint