Fix syntax error and logging in service script

Change-Id: I2afdadb44172385db57ef3744b401cab4f132deb