Fix script syntax errors

Change-Id: I2a5d3d089be722d6d45cad2ec428b5041b9909c3