A script is bound to a Google Sheets, Docs, or Forms file if it was created from that document rather than as a standalone script. Bound scripts generally behave like standalone scripts except that they do not appear in Google Drive, they cannot be detached from the file they are bound to, and they gain a few special privileges over the parent file