Is there a possibility for scripts to be `nil`? Can we make it default to an empty array?