Sub was not modifying name variable - updated to use just one gsub with bang to modify inline

I'm unsure where the preferred branch is to open a pr but I just started using the app and noticed this when trying to test it out