sgw: policy script: add the instance id to the script