Effectively replacing strings with variables AT RUNTIME