lots of find replaces for param and var names