Replace hardcoded string with variable