Version used but not defined. v=$version clearly intended.