new delete for scripts