Change function name and single argument name
Rename variable throughout script