support escapes in defines so we can pass scopes