Tidy up, save state
Map '$dollar' to '$' via a hack which inserts server wide
script variables named '$dollar'