That error message usually means a duplicate of
something is being added to the database. It sound's like you're submitting scripts to Foundation libraries, which wouldn't normally trigger that error as SharePoint itself will prevent duplicates in the library (by filename, not title). I usually see this in Composer solutions with duplicate data connections.
------------------------------
Joshua Whitener | Technical Advisor
Exxon Mobil Corporation | 8326258441
------------------------------