write google api key to script injection