adding scripts
deleting collections for scripts and devices