Added missing $ to variables in examples