Delete and Copy brick refactoring
Fix delete script section.
Fixes if object script list is empty.