Couple of syntax errors prevented script from being interpreted.