Scripts for SQL BOM