Replace final static string with respective variable.