update custom substitution variables
add signature base string to error pages