Reset resources array on load.