Adding sec_code option when doing check transactions