Gave up on trying to do string substitution and just did copy and paste.