Use double quotes instead of single to make sure it evaluates it as a variable.